package com.todo.component.redis;

/**
 * @author zhangwenxiang
 * @date 2024/4/8 15:51
 * @description
 */
public interface RedisKey {

    Integer ONE_MINUTES_TIME = 60;
    Integer ONE_HOUR_TIME = 60 * 60;
    Integer HALF_DAY_TIME = 60 * 60 * 12;
    Integer ONE_DAY_TIME = 60 * 60 * 24;

    /************************USER KEY*******************************/

    String USER_ACCOUNT_CACHE = "user:userAccount:userName:%s";

    String USER_DETAIL_CACHE = "user:userDetail:id:%s";

    String USER_AUTH_CODE_PHONE_CACHE = "user:auth:code:phone:%s";



}
